package com.bjfu.gmms.pojo;

import java.util.Date;

public class StudentInfo {
    private int studentId;                       // 学生ID，主键
    private String name;                         // 学生姓名
    private String gender;                       // 学生性别（"男"或"女"）
    private int category1;                       // 学生类别1（应届生、往届生、同等学力等）
    private int category2;                       // 学生类别2（定向生、非定向生等）
    private String undergraduateSchool;          // 本科学校名称
    private Date graduationDate;                 // 本科毕业时间
    private String undergraduateMajor;           // 本科专业
    private String phone;                        // 学生电话（联系号码）
    private String emergencyPhone;               // 紧急联系人手机
    private Date birthDate;                      // 学生出生日期
    private String idNumber;                     // 身份证号
    private String sourceLocation;                // 学生生源地
    private String mail;                         // 学生邮箱
    private String undergraduateSchoolType;      // 本科学校类型（如985、211等）
    private String personalResume;               // 个人简历
    private String originalAppliedDiscipline;    // 初试报考的二级学科ID

    // Getters and Setters
    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getCategory1() {
        return category1;
    }

    public void setCategory1(int category1) {
        this.category1 = category1;
    }

    public int getCategory2() {
        return category2;
    }

    public void setCategory2(int category2) {
        this.category2 = category2;
    }

    public String getUndergraduateSchool() {
        return undergraduateSchool;
    }

    public void setUndergraduateSchool(String undergraduateSchool) {
        this.undergraduateSchool = undergraduateSchool;
    }

    public Date getGraduationDate() {
        return graduationDate;
    }

    public void setGraduationDate(Date graduationDate) {
        this.graduationDate = graduationDate;
    }

    public String getUndergraduateMajor() {
        return undergraduateMajor;
    }

    public void setUndergraduateMajor(String undergraduateMajor) {
        this.undergraduateMajor = undergraduateMajor;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmergencyPhone() {
        return emergencyPhone;
    }

    public void setEmergencyPhone(String emergencyPhone) {
        this.emergencyPhone = emergencyPhone;
    }

    public Date getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getSourceLocation() {
        return sourceLocation;
    }

    public void setSourceLocation(String sourceLocation) {
        this.sourceLocation = sourceLocation;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getUndergraduateSchoolType() {
        return undergraduateSchoolType;
    }

    public void setUndergraduateSchoolType(String undergraduateSchoolType) {
        this.undergraduateSchoolType = undergraduateSchoolType;
    }

    public String getPersonalResume() {
        return personalResume;
    }

    public void setPersonalResume(String personalResume) {
        this.personalResume = personalResume;
    }

    public String getOriginalAppliedDiscipline() {
        return originalAppliedDiscipline;
    }

    public void setOriginalAppliedDiscipline(String originalAppliedDiscipline) {
        this.originalAppliedDiscipline = originalAppliedDiscipline;
    }

    @Override
    public String toString() {
        return "StudentInfo{" +
                "studentId=" + studentId +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", category1=" + category1 +
                ", category2=" + category2 +
                ", undergraduateSchool='" + undergraduateSchool + '\'' +
                ", graduationDate=" + graduationDate +
                ", undergraduateMajor='" + undergraduateMajor + '\'' +
                ", phone='" + phone + '\'' +
                ", emergencyPhone='" + emergencyPhone + '\'' +
                ", birthDate=" + birthDate +
                ", idNumber='" + idNumber + '\'' +
                ", sourceLocation='" + sourceLocation + '\'' +
                ", mail='" + mail + '\'' +
                ", undergraduateSchoolType='" + undergraduateSchoolType + '\'' +
                ", personalResume='" + personalResume + '\'' +
                ", originalAppliedDiscipline='" + originalAppliedDiscipline + '\'' +
                '}';
    }

}
